<?php
class ManagePromotionFilter extends Module
{
	function ManagePromotionFilter($row)
	{
		Module::Module($row);
		
        #############################################################################
        //Check quyền
		if(!User::have_permit(array_keys(self::permission())))
        {
	        Url::access_denied();
        }
        #############################################################################
        
        
		require_once "forms/PromotionFilter.php";
		$this->add_form(new PromotionFilterListForm());
	}

    static function permission()
    {
        return array(
            "admin_promotion_fitler"  => "Quản lý loại khuyến mại",
        );
    }
}
?>